<?php

namespace app\api\validate;

use think\Validate;

class  SaleValidate extends Validate
{
    protected $rule = [
        'kid' => 'require',
        'warehouse' => 'require',
        'sales' => 'require',
        'create_time' => 'require'
    ];

    protected $msg = [
        'kid.require' => '客户姓名不能为空',
        'warehouse.require' => '仓库不能为空',
        'sales.require' => '销售员不能为空',
        'create_time.require' => '日期不能为空'
    ];
}